package com.tn.dao.mbpdao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 
 * </p>
 *
 * @author YuzSuzuki
 * @since 2023-05-08
 */
@Data
@TableName("task_info_dispatch")
public class TaskInfoDispatch implements Serializable {

    private static final long serialVersionUID = 1L;

    private String taskNo;

    private String goodsName;

    private String goodsNameLogo;

    private String noticeSystem;

    private String planWeight;

    private String customerCompanyName;

    private String consignCompanyName;

    private String shipNo;

    private String dispatchId;

    private String equipmentNo;

    private String equipmentName;

    private String warehouseName;

    private String cargoSpaceId;

    private String cargoSpaceName;

    private String stackNo;

    private String stackName;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 0新增1进行中2已删除
     */
    private String status;

    private String gpsCard;

    @TableField(exist = false)
    private List<Map<String,String>> truckList;

    @TableField(exist = false)
    private int truckNum;

    @TableField(exist = false)
    private List<String> truckOperating;

}
